<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title>Student Address Book Project</title>
	<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<div class="header-container">
		<div class="header">
			<div class="left">
				<a href="<c:url value="/" />"><div class="logo"></div></a>
			</div>
			<div class="right">
				<div class="user-navigation-area">
					Welcome ${username} &nbsp|&nbsp <a href="<c:url value="/j_spring_security_logout" />" >Logout</a>
				</div>
			</div>
			<div class="clear"></div>
		</div><!-- END HEADER -->
	</div>
	<div class="content-container">
		<div class="admin-center-container">
			<form action="changePassword.do" method="post">
			<table>
				<tbody>
					<c:if test="${message != null}">
						<p class="${color}"><c:out value="${message}"></c:out></p>
					</c:if>
					<tr>
						<td></td>
						<td><h2>Change Password</h2></td>
					</tr>
					<tr>
						<td>New Password: </td>
						<td><input type="password" class="input-control" name="newpassword" size="35"/></td>
					</tr>
					<tr>
						<td>Confirm New Password: </td>
						<td><input type="password" class="input-control" name="confnewpassword" size="35"/></td>
					</tr>
					<tr>
						<td>Current Password: </td>
						<td><input type="password" class="input-control" name="currentpassword" size="35"/></td>
					</tr>
					<tr>
						<td></td>
						<td><input type="submit" class="stdbut" value="Change Password"/></td>
					</tr>
				</tbody>
			</table>
			</form>
		</div><!-- center container -->
	</div>      
</body>
</html>